import axios from "@/utils/axios";

// 分页查询体检类型列表
// 模糊查询
export const getProjectTypeList = (data) =>
  axios.post("/base/projectType/queryListPage", data);

// 添加或修改体检类型
export const addOrUpdateProjectType = (data) =>
  axios.post("/base/projectType/addOrUpdate", data);

//删除体检类型
export const delProjectType = (projectTypeId) =>
  axios.get(`/base/projectType/delete/${projectTypeId}`);

//根据id获取项目类型详情
export const getProjectTypeDetail = (projectTypeId) =>
  axios.get(`/base/projectType/findByProjectTypeId/${projectTypeId}`);
